package org.example.erpapiservicespringmongoimpl.mapper;

import org.example.erpapicommon.model.Stock;
import org.example.erpapiservicespringmongoimpl.doc.StockDoc;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface StockMapper {
    List<Stock> toStockList(List<StockDoc> stocks);

}
